<template>
	<div class="home">
		<h1>{{ title }}</h1>
		<!-- <button @click="setRoute">设置</button> -->
	</div>
</template>

<script>
import { homeApi } from '@/api'
import { constantRoutes } from '@/router'

export default {
	name: 'home',
	data () {
		return {
			title: '111'
		}
	},
	mounted () {
		this.getList()
	},
	methods: {
		async getList () {
			// const { obj } = await homeApi.dataList()
			// console.log(obj)
		}
	}
}
</script>

<style>
</style>
